// 导入app
const app = require("./app");
const setupErrorHandle = require("./utils/error-handle");
const { SERVER_PORT } = require("./config/server");

setupErrorHandle();
// 启动app监听SERVER_PORT端口号
app.listen(SERVER_PORT, () => {
    console.log("服务已经开启~");
});
